package com.aptech.daos;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractShip entity provides the base persistence definition of the Ship
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractShip implements java.io.Serializable {

	// Fields

	private Integer shipId;
	private String shipName;
	private Set orderses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractShip() {
	}

	/** minimal constructor */
	public AbstractShip(Integer shipId, String shipName) {
		this.shipId = shipId;
		this.shipName = shipName;
	}

	/** full constructor */
	public AbstractShip(Integer shipId, String shipName, Set orderses) {
		this.shipId = shipId;
		this.shipName = shipName;
		this.orderses = orderses;
	}

	// Property accessors

	public Integer getShipId() {
		return this.shipId;
	}

	public void setShipId(Integer shipId) {
		this.shipId = shipId;
	}

	public String getShipName() {
		return this.shipName;
	}

	public void setShipName(String shipName) {
		this.shipName = shipName;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

}